package com.just.springdatarest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 经过配置根路径和节点路径
 * rest服务地址变成了http://localhost:8080/api/people
 * 增删改查、排序、分页不需要自己写接口了
 */
@SpringBootApplication
public class SpringdatarestApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringdatarestApplication.class, args);
    }
}
